package com.ynkbny.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zelin.wang
 * @description 角色信息
 * @date 8/16/2023
 */
@Data
@ApiModel(value = "角色信息")
@TableName("role")
public class Role {
    @ApiModelProperty(value = "主键id", example = "1")
    @TableId(type = IdType.AUTO)
    int id;
    @ApiModelProperty(value = "名称", example = "管理员")
    String name;
    @ApiModelProperty(value = "等级", example = "1")
    String type;

}
